<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        JSON.parse(JSON.stringify(obj))
        Object.assign()
        function deepCopy(obj){
            let result = obj
            if (typeof obj ==='object'&& obj != null) {
                result = Object.prototype.toString.call(obj) == '[object Object]' ?{}:[]
            for(let props in obj){
              result[props]  = deepCopy(obj[props])
            }
            }
            return result
        }

        
    </script>
    
</body>
</html>